package com.gopay.common.domain.acps;

import java.math.BigDecimal;

import com.gopay.common.domain.BaseEntity;

/**
 * 账务明细
 * 
 * @TranDetailBean.java
 * @author zhanglei
 * @2013-1-18 下午3:34:42 www.gopay.com.cn Inc.All rights reserved.
 */
public class TranDetailBean extends BaseEntity {
    private static final long serialVersionUID = -4515555112112616957L;
    private String id;
    /** 账户 */
    private String acctId;
    /** 金额 */
    private BigDecimal amt;
    /** 交易类型 */
    private TranType type;
    /** 用途 */
    private String particular;
    /** 附言 */
    private String remark;

    public TranDetailBean() {
        super();
    }

    public TranDetailBean(String acid, BigDecimal amt, TranType type) {
        super();
        this.acctId = acid;
        this.amt = amt;
        this.type = type;
    }

    public TranDetailBean(String acid, BigDecimal amt, TranType type, String particular) {
        super();
        this.acctId = acid;
        this.amt = amt;
        this.type = type;
        this.particular = particular;
    }
    
    public TranDetailBean(String id, String acid, BigDecimal amt, TranType type, String particular) {
        super();
        this.id = id;
        this.acctId = acid;
        this.amt = amt;
        this.type = type;
        this.particular = particular;
    }

    /**
     * custId参数将删除
     * 
     * @param acctId
     * @param custId
     * @param amt
     * @param type
     */
    @Deprecated
    public TranDetailBean(String acctId, String custId, BigDecimal amt, TranType type) {
        super();
        this.acctId = acctId;
        this.amt = amt;
        this.type = type;
    }

    /** 账户 */
    public String getAcctId() {
        return acctId;
    }

    /** 账户 */
    public void setAcctId(String acctId) {
        this.acctId = acctId;
    }

    /** 金额 */
    public BigDecimal getAmt() {
        return amt;
    }

    /** 金额 */
    public void setAmt(BigDecimal amt) {
        this.amt = amt;
    }

    /** 交易类型 */
    public TranType getType() {
        return type;
    }

    /** 交易类型 */
    public void setType(TranType type) {
        this.type = type;
    }

    /** 用途 */
    public String getParticular() {
        return particular;
    }

    /** 用途 */
    public void setParticular(String particular) {
        this.particular = particular;
    }

    /** 附言 */
    public String getRemark() {
        return remark;
    }

    /** 附言 */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

}
